﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<iss.sg4210.se18.team6s.jass.DAL.Advertisement>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    Details
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h2>
        Manage Advertisement - Details</h2>
    <fieldset style="width: 600px">
        <legend>Advertisement Information</legend>
        <table>
            <tr>
                <td valign="top">
                    <div class="display-label">
                        Title</div>
                </td>
                <td valign="top">
                    <div class="display-label">
                        :</div>
                </td>
                <td valign="top">
                    <div class="display-field">
                        <%: Model.Title %></div>
                </td>
            </tr>
            <tr>
                <td valign="top">
                    <div class="display-label">
                        Description</div>
                </td>
                <td valign="top">
                    <div class="display-label">
                        :</div>
                </td>
                <td valign="top">
                    <div class="display-field">
                        <%: Model.Description %></div>
                </td>
            </tr>
            <tr>
                <td valign="top">
                    <div class="display-label">
                        Experience In Years</div>
                </td>
                <td valign="top">
                    <div class="display-label">
                        :</div>
                </td>
                <td valign="top">
                    <div class="display-field">
                        <%: Model.ExperienceInYears %></div>
                </td>
            </tr>
            <tr>
                <td valign="top">
                    <div class="display-label">
                        Salary From</div>
                </td>
                <td valign="top">
                    <div class="display-label">
                        :</div>
                </td>
                <td valign="top">
                    <div class="display-field">
                        <%: Model.SalaryFrom %></div>
                </td>
            </tr>
            <tr>
                <td valign="top">
                    <div class="display-label">
                        Salary To</div>
                </td>
                <td valign="top">
                    <div class="display-label">
                        :</div>
                </td>
                <td valign="top">
                    <div class="display-field">
                        <%: Model.SalaryTo %></div>
                </td>
            </tr>
            <tr>
                <td valign="top">
                    <div class="display-label">
                        Start Date</div>
                </td>
                <td valign="top">
                    <div class="display-label">
                        :</div>
                </td>
                <td valign="top">
                    <div class="display-field">
                        <%: String.Format("{0:dd MMMM yyyy}", Model.StartDate) %></div>
                </td>
            </tr>
            <tr>
                <td valign="top">
                    <div class="display-label">
                        ManagerialSkills
                    </div>
                </td>
                <td valign="top">
                    <div class="display-label">
                        :</div>
                </td>
                <td valign="top">
                    <div class="display-field">
                        <%:  Model.ManagerialSkills%>
                    </div>
                </td>
            </tr>
            <tr>
                <td valign="top">
                    <div class="display-label">
                        TechnicalSkills
                    </div>
                </td>
                <td valign="top">
                    <div class="display-label">
                        :</div>
                </td>
                <td valign="top">
                    <div class="display-field">
                        <%: Model.TechnicalSkills%>
                    </div>
                </td>
            </tr>
            <tr>
                <td valign="top">
                    <div class="display-label">
                        Location</div>
                </td>
                <td valign="top">
                    <div class="display-label">
                        :</div>
                </td>
                <td valign="top">
                    <div class="display-field">
                        <%: Model.GeoArea.Name %></div>
                </td>
            </tr>
            <tr>
                <td valign="top">
                    <div class="display-label">
                        Company</div>
                </td>
                <td valign="top">
                    <div class="display-label">
                        :</div>
                </td>
                <td valign="top">
                    <div class="display-field">
                        <%: Model.Company.Name %></div>
                </td>
            </tr>
            <tr>
                <td valign="top">
                    <div class="display-label">
                        Is Deleted</div>
                </td>
                <td valign="top">
                    <div class="display-label">
                        :</div>
                </td>
                <td valign="top">
                    <div class="display-field">
                        <%: Html.DisplayFor(item1=>Model.IsDeleted, "Boolean") %></div>
                </td>
            </tr>
            <tr>
                <td valign="top">
                    <div class="display-label">
                        Is WithDrawn</div>
                </td>
                <td valign="top">
                    <div class="display-label">
                        :</div>
                </td>
                <td valign="top">
                    <div class="display-field">
                        <%: Html.DisplayFor(item1=>Model.IsWithDrawn, "Boolean") %></div>
                </td>
            </tr>
            <tr>
                <td valign="top">
                    <div class="display-label">
                        Is FulFilled</div>
                </td>
                <td valign="top">
                    <div class="display-label">
                        :</div>
                </td>
                <td valign="top">
                    <div class="display-field">
                        <%: Html.DisplayFor(item1=>Model.IsFulFilled, "Boolean") %></div>
                </td>
            </tr>
            <tr>
                <td valign="top">
                    <div class="display-label">
                        Advertisement Type</div>
                </td>
                <td valign="top">
                    <div class="display-label">
                        :</div>
                </td>
                <td valign="top">
                    <div class="display-field">
                        <%: Model.AdvertisementType.Type %></div>
                </td>
            </tr>
        </table>
    </fieldset>
    <%: Html.ActionLink("Back to List", "Index") %>
</asp:Content>
